package org.wmq.taskschedule.biz.model.DO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Task extends BaseDo {
    public static final int RUNNING = 1;
    public static final int FINISHED = 2;
    public static final int FAILED = 3;
    public static final int STOPPED = 4;
    public static final int BEGINNING = 5;


    private String name;
    private int size;
    private int status;
    private int curStepIndex;
    private String matFileUrl;
    private int scheduleFlag;
    private LocalDateTime scheduledDate;
}
